added element lookup table, additional structs in progress