delete logging code