added some link functionality