set initialised to true after first run