added search functionality to al models