Added TODO implement needRefresh