parametrized table names

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>