changed to simpler code- what we actually ran