chapt 6 and get version