formatting
removed unnecessary code