changes to enter_pass functionality