continued working on the online estimator of the occupancy - not yet
finished