corrected first state initialisation