swapped out depreciated Response function calls