add routine to use elemental