replaced tabs with two spaces.
adjusted the code style.