added left and right position and find functions