add include_self option, resources