Finally got rendering for blocks worked out