now works with inputs. does not store data in DOM. started test