Trying to change to structure to add SEM_MAGIC