add exercises for methods