Got output rendering started, should state construction should go in the python?