added dual states (broken)