hacking away for hours.. it now responds to input