adding model for charts