added resource call