minor analysis optimization