Changed the default token function