code refresh for demo