Added viewmethod