working on ex 8.5