Puncher and Accelerometer code