old version of jeromeetienne/threex