seem to have a mildly stable version of exercise 4