added delay option to video