added inputs to both tables.

stated in the description.