changed indentation to 4 spaces as per PEP 8 style guide