merged and updated method for link call