some todos to front-end