calculate (2 Resources)