Removed duplicates. New feature to think of: re-arrange the rows