add assignments resource and template