returnConstant() with priority wasn't using it