ifs and variables examples