added wireframe mode