Use push() instead of .length