pass retVar to UserFunc as a parameter