if condition and action resulted from it shouldn't be on the same line