added some links functionality