finishes front-end implementation