started to workon log printing structure