added option 'delay'