added delay controls