create viewset for batch