made some speed changes