update copy. remove debug messages.