re-adds logging