use arrays in signal/slot system