attempt 8 to get db query