added dao switch