function __construct($id, $width, $height, $data)
 {
     $this->data = $data;
     $this->id = $id;
     $counter = new Counter(array($width, $height));
     $counter->event = array($this, 'element');
     $counter->tick_all();
 }