added record data and itemId to InputItem