modified search method, added duplicates and remote duplicates method
updated create method