add logCat to view.java