example program for IF statements