testing database interaction - FAIL