adding logChart later to be changed
adding logChart later to be changed