modified the structure