new search method

Signed-off-by: Alexander Skjolden <alex@plastboks.net>