use cond instead of my janky list contains true