Added input

input is hard... globals are confusing... I want a hug