add debugprint and let the "wait" fit the "new" "protocol"
add a CCFriend.cs