Also, remove the throws exception from the function declaration.