added OR function