Got things working with the nested blocks