formatting for { and spacing