How do I get rid of duplication

But you're asking for help now.