attempt at async db
attempt at async db