first attempt

consider conditions with unclosed parentheses
i.e. (()(()()