First attempt at build - array based resolution
Second attempt using closure style