removed the old main method and implemented a new one for testing
display settings.