added search idea from magic engine