Ran Ch 5 excercises