conditional clause parsing