added resource assignment