Updated throw method & added return method