almost done with initial output