Source code of scapegoat