added events to search bar