Fixed bug with toggling, added a tv attribute that gets calculated