added some nifty anti dupe methods