input rudimentary working
input working