removed calls to sim() in ch5/6