The law of lashes is the focal point of a discussion regarding the difference between Peshat and Derash. According to the text - one who sins receives lashes, and the number of lashes is left to the discretion of the judicial system, as long as they do not exceed forty. Halakha, however, limited lashes to sins against God, and limited the number of lashes to 39. The changes preserve the honor of one who receives lashed, and prevents even accidental damage.