Updated code formatting (tab -> spaces)