new fct on dll, bug free, base 2 more EC