token input initial work