Tested in console. Works. Need to make token global.