testing database input