avoid calling .length