Uses correct values and endpoint for vidres