Pull computations into method