forgot to uncomment raise() in main