everything works in principle, removed population history though