Doing part assignment