proper if stmt