changed formula #165