variables extracted and chart variable logged