simpler implementation of request mapping