New scheme for calculating of version