rebased logging contruptions form myke