Output working

Somewhat working but not oputtin the right thing. Currently makes a key
based on the data and puts that input but does not output right