using cue object instead of strings