correct function declaration to be a prototype, not a static function