modified random search

Rename to `target`