commented and indented properly
fixing the design