simplex works up to main loop