Why is calculations moved to widgets?