added code of experiment