Calculate - Wrap code in class