re-implemented link helper