Add class for calculating results