first state of code