added public loss array