removed duplication for resource