additional changes to make cue work