attempt 6 to get db query