front-end for single