helpers for links

not sure the best way to abstract these