Class cluster pattern to prevent against unnecessary calculations