Was only printing one line.