Added throws to fix something