Removed unused variable $link
Up