change in resource handler method