symbol comparison