theres a gag gene , which determines the structural elements of the virus ; a pol gene , which is common to all retroviruses like hiv and is involved in reverse transcriptase ; and an env gene , which produces the proteins found on the membrane , or envelope , of the virus .