refactoring
eq and neq handles more than two parameters