added ||  to log and pass