This is the walk trap implementation to analyze gm