exposing resource handler