added simple compiler pass