database dao, front-end