added table for input