changed Token from interface to class