set up stucture