Beautified

Beautified code for clarity