added drawing of active grid cells