add assignedToMember() function, assignedToFlag() function