assignment by resource