Cleaned up the bouncing code