started work on logger