add const member function findElement because const object can
only call const member