develop token class