added exception for missing composition to terynary.__init__