added pre/post delay