data input actually works now