first version
xindom with easy-functions