added EntityType specification to Token constructor invocation