finishes assignment