forgot to add foreach