record search implemented