refactor experiment method in brownpeterson