lab6: add search field