passing more tables to modules