Reogranized some slots, and implemented "duplicate line."