moved some things to erln8.h