added functionality for operations and evaluation.