links functionality added