pass token as object