changed hard-coded version by variable