parsing struct paper