correct return value of or