Multiple inputs should now be captured correctly