getresourcesofexam runs green now; added resource to relation table