Made some changes to examples