draft of version with autorefresh