added prevent duplicates #151