added verification of age/validity/community
fixed special functions
fixed recursive write of EFs