handle attributes typearray