Equation 3 skeleton function added