Change routine logic.