added function and style for links