Adding set_or function.