input finally works