add #to_chart for main models