template now has grid and pics