In one aspect, the invention relates to compounds having the formula:wherein: Ar, Z, R3, R4 and R5 are as defined in the specification, or a pharmaceutically acceptable salt thereof. These compounds have AT1 receptor antagonist activity and neprilysin inhibition activity. In another aspect, the invention relates to pharmaceutical compositions comprising such compounds methods of using such compounds and process and intermediates for preparing such compounds.