extract word from db