add eni
better code portability