added crsearch functionality