debugging the sample tach code