klayinit working with new linker by Ulf