formatting some code