made change for code review feedback: use milliseconds for sleep time input