removed constants
added multidimensional array print method
print response