first implementation of simple view.