first attempt towards libfte