adding isLeft back
attempting to fix warning