removed duplicate _refresh function