calculate from methods