statistics now selected by settlement instead of created_at
build