major error with throws function