Correctly initialize state and print prompt