adding inputs to chart