new version 0.3.0 : now supports multiple tables