set up two-way binding to map :repeat: