booleans added

left and right booleans added