editted ifs