first draft of noisy api simulation