inserting struct fields