restruct pyatug