use assignTo in more places