initialisations should go into the init method (as well as registering parameters)