removed logging call