added resourcemap example