add instance for binary tree type