sizes array is not used