add Calculate and print functions