updating code formatting