link attributes and decoder