Some method extraction and adding refreshing every 3 seconds