task 10.6 calculation added