remove unused token-based function from vm