search function added,but not implenmented