lots of debugging stuff; still reading all values as zeroes when they should be converted to integers