rewrote front-end application