adds static keyword to funcs