Implemented if, else, endif