Created function for building lists of identical labels