completes chapter five exercises