code properly beautified