magic object and table mapping