added option to set start delay