replaced spaces indent with tabs
small code style improvements