The present application describes modulators of MCP-1 of formula (I):or stereoisomers or pharmaceutically acceptable salts thereof, wherein X, Z, a, b, c, d, n, R1, R2, R3, R4, R5, R10, R10a, and R12, are as defined herein. In addition, methods of treating and preventing inflammatory diseases such as asthma and allergic diseases, as well as autoimmune pathologies such as rheumatoid arthritis and atherosclerosis using modulators of formula (I) are disclosed.