rewrote views