Using hash instead of list

required by create resources