add hvector to backend, debugged