flaky initial commit
partially working version