logging works - BADLY