use correct struct