Removed "static" from fn generation