implemented search with rough edges

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>