Simplification using globals