functionality nearing completion, working on layout and display parameters