comparing with one element