fixed mixing tabs and spaces
tutorial now uses best practices for settings