store input in a list
store input in a list