utilized database read func