made it so that the program will also work on a sngle processor