Modified response handling code to also allow for responses other then numerics