test foundation
switch up because flags needed to allow for repeats