debugging the structures issue.