[dev]minimal search function