added resource component