removed .chomp as it is not working as intended