errors
change chart from record
still buggy
assess