added Struct.fromPointer