implemented modular experiment class