Moving Console code to view ...