Program crashes sometimes, works sometimes, definitely doesn't do what it's supposed to do.