some mods to multiple datasets code