auto determination on structures