inline search without redundancy