if it crashes, try debugging it and learn what mistakes you made. Seems to me a better advise than correcting your prog.