fixed lower error, made input work