experiment execution now a function