KCS: Added exercise 6