typo of RuntimeException should be RuntimeError