Selecting compatible materials