Remove unneeded methods and duplicated puts statement