containing keto or thioketo groups as part of a ring