Changes to function exercise