add boscobox function into backend and frontend