Could you do `prefix.unshift` here so don't have a to do the reverse down below?