- initialise $state to prevent checking if initialised