removed resourceFormat