created view handler