Added functionality of function assignment

Also added membership/engagement on the assignments