refactor experiment method in brownpeterson

wowwwww