stick dual-view demo helpers in separate files