some more template changes. getting apple counter to work.