Useful utility function for performing experiments. Simple and easy, quick and dirty.