added refresh statement