pass token as arg