made things private and added wireframe mode