handling varargs when using createTables