use some in place of any? for short circuit