added spacing to function declarations