progress on batch framework