added refresh interval