added link and stack