[hw10] writing insert_collection