added magic token