generic array (not working)