add version attribute