PRINCE: Reduce the scope of several variables in Hero