added wireframe display mode