check on structure types