You don't need an ENDIF if your IF statement doesn't span over 1 line.