Added whitespace where necessary and replaced static sleep time with a variable. Also created a setter method for that variable