initial version of record search