Had forgotten to rename the prev variable as well for questlines