replace self with v in to_dfinder