textfield working, unpolished