layout changes and a try to implement graphView