Hash, ifs, arrays