output table is now named after the input table