modified structure and script