implement a data structure similar to C's structs shouldn't be too hard because all addresses are known at compile time