Added new method calculate_stuff