add dependencies and v2