proper response constructing. Not 100% on datatypes
datatypes changed from char() to string