Ifs gui working