copy def for build_resource