code indentation with spaces instead of tabs

code indented with spaces to display consistent in any editor