started some code for inputting transactions