replace `and` with `and_` to fix Xcode 6 compatibility