add throws annotation