CHANGED:temporary comment out the wrap/bounce function