added search module and code