added runtime initialisation