Added IF_ELSE statement