getting next batch