formatted some code