expose route fn