code formatting

cleaning up code