using old speed, but new speed non crash WORKING