Changes to defining problem 1