parse string for links function added