better input method (not perfect), defaults to dummy data