handling experiments with statuscodes