static function and routes