prior to rewriting prefix logic