could we avoid code repetition here. create template and render these 3 blocks in a loop?