using contain for warnings