removed log call