working on getting input data