progress on control flow