added refresh, loading