up to new language api
(compilation fixed)