save different loss mechanisms