getting all capitals info, capitals styled, still need to create a factoryfn to format the data correctly