commiting based on assignment