created getfavlinks functions