added response features; 404 response support added