lots of updates, finish main_chart, working on small_chart