only record the useful data