did the assign method