get right structure