before sidebar search functionality got done