Would be nice if this was put into a template loop rather than have the HTML here.