added structure accesses to compile