Added throws flag