extracted complexity from #initialize