change resType to application
could define application for every request