Implemented displayonview()