input appends to list