add all functionality for pixel tracking