bad code that draws links