database now pulling resulting gate + vector