added comments to read_accel