Made ifs a bit nicer