a quick program for testing different types of deadzone detectopm