Added analysis for expected