Code made shorter. No change in functionality