added front-end example