todo clean up
updating footer to update value based on collection length
merging