change | to &&