renamed table to map