combine with database