a step towards logging