beautified code
beautified code. added loading-effect