second_pass working