added consolidated links function