adding roles for batch processing