Add data to queuee

Not working it keeps looping what might be the issue?