add refresh control -- not finished yet