almost everything working now except checking for unique code duplication