removed from ELPP and put it as extern