added user input to table.py.