batchloader and todo and bugs