convert simple route to static method