getBatch now takes details as input