refactor demo