Add getter for output
Add samples and ouput update