added getView. implemented simple example.