make the jumps more realistic and solved memory leak