implement custom search block