Add func to search dict; use printf for usage