adds linke to rail