updated version, added back type