Add if, swith and for