works with 4 links now