first attempt to implement user input recording