attempt to add loop problem