#47 refactoring Client: head cs to pattern (c : _)