parsing links function added, working links