table name becomes parameter