added code for cond, loop, and lt