updated logging with tabs