added token to assign method