added if_zero_then method