code nicety

++ within if condition