filled in pushOntoArray