Removed dublicated logging