Do you see any problems arising from doing the remove and append at the end? I'm trying to think of what problems this could cause...