joined nested if_somethings into if_helpers