Added Avg and fillColor functions