preprocessing reference && a somewhat similar problem