cin based view