Formation of intermetallics