proper binding to search