Add part about the run-function to the section about state