[task2] - calculation works fine, formatter and error handling - not