Indent the nested ifs, so its easier to read