setup structure object