Adjust Code struct

Adjust Code struct