adding version attribute