Replaced tabs to spaces to match the original coding style