self doesn't have ref to logger need to fix htis