finish reading,add DB class