adding dynamic table name support. closes #21