remove duplicates by import; code formatting changes: tabs replaced with spaces