Updated dps method to include a "throws" declaration.