Can be used as a method of an Express app