Adjusting style. Adding in code to detect if we're currently in a pass