Finish pseudo code and report