added lesson must be within contract range validation