handle symbols when doing addition