Update to Ex26

Made changes to code