Input form now works