added back resource.h