changed to chomp end lines
complete