use contains? instead of or construct