separate deadzone code from safezone code
test deadzone code