working on denied request handling