adding modifications suggested  in guimain class