Bug fixes
Added example batch method