Adding links, changing pagination