renamed getRels... to getLinks...
using Ramda everyweje