add ff version, with full credit to @JiajunW