added resource.h