added front end sample