rewrote functions to grab input data and store into json object array
sooner