Added consistent code formatting