added refresh control.