code perfume and finish up of struc insert()