Remove gets.chomp and use variable instead