more batch experiment code