worked on code formatting