need to figure out how refresh control works