implement refresh control & add test codes