adding list_of_links class to links slice