so, question for you @rwaldron : why do we ned the loop and why don't we just remove the last one if it's a empty placeholder ?