converted indentation to spaces, adjusted indentation, still need to add timer and possibly more features/style