now need to deal with tokens and ids