moved structure definition