add custom topology.

M