removed surplus logging