made all transition funcs pass their tests