add some functions to etablissement api