modified client_VM.k