add footer and add vote function