Dont kill the object entirely to append/prepend. Modify in place
Remove debug line