avoid conversion of array into List