state mashine ready, hopefully the first running version