Fixed typo. Replaced large amount of can build function with for loop