debugging pre chart implementation