start adding charts functionality