fixing spacing before function