add speed and pause all resum all function