add getPoint method
simple example