changed compare operators