trying to do accel conversion without casts