Beautified sample code