check if one or the other