validation works
stupid error! now works input