changed usat/chip fields to text from ints; added debugging code