Error handling seems to work.