forgot chomp to get rid of trailing \n