removing logging statements