tweaks a variable name
implements aggregate table mapping