Replacing sample with realistic results.
Code cleanup.
Fix output.