virtual display code