adding correct data tracking to book component