Function on Eapi initialiser