put some ifs