How to deal with arrays ?