add option to adjust sleep time