quick and dirty dupe checking

not sure if it works...