Deleted even more to allow more logic to be explained during a lecture.