add in all logging statements