A model of how token works