Code improvement

Inline statement given