do not check if array is empty