Initial version of code in append_entry() to make the container