[#14] add search method