Adding Structure code