fixed indentation and reduced timer to 5 seconds