Removed unused method and fixed print output.