The properties of materials that affect resistance are