d4_ec complete with documentation