last version functions