split by the users mentioned
updated for batch processing