added in search functionality