change to dictionary mode