implemeneted add, subtract, and divide methods