tabs changed to spaces
slight code readability improvement