complete partially execercise 7 cap