cleaning up VR implementation